﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using mesoBoard.Data;

namespace mesoBoard.Web.Models
{
    public class BaseViewModel
    {
        public User CurrentUser { get; set; }
        public bool IsAuthenticated
        {
            get
            {
                return CurrentUser != null || CurrentUser.UserID == 0;
            }
        }
    }
}
